package com.gxa.entity.parking;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yjl
 * @since 2022-10-11 10:05:39
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("t_temporary_pay")
@ApiModel(value = "TemporaryPay对象", description = "")
public class TemporaryPay implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("停车场表主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("订单编号")
    @TableField("order_num")
    private String orderNum;

    @ApiModelProperty("车牌号")
    @TableField("car_num")
    private String carNum;

    @ApiModelProperty("支付金额")
    @TableField("pay_money")
    private Double payMoney;

    @ApiModelProperty("支付方式")
    @TableField("pay_method")
    private String payMethod;

    @ApiModelProperty("支付结果")
    @TableField("pay_result")
    private Integer payResult;

    @ApiModelProperty("进场时间")
    @TableField("enter_time")
    private Date enterTime;

    @ApiModelProperty("所在位置")
    @TableField("address")
    private String address;

    @ApiModelProperty("停车区域")
    @TableField("parking_region")
    private String parkingRegion;

    @ApiModelProperty("停车时长")
    @TableField("parking_duration")
    private Double parkingDuration;

    @ApiModelProperty("缴费时间")
    @TableField("pay_time")
    private Date payTime;


}
